<?php
/**
 * @file
 * widget.tpl.php
 *
 * sanpham widget theme for Vote Up/Down
 */
?>
<div class="vud-widget vud-widget-sanpham clearfix" id="<?php print $id; ?>">
  <?php if ($class_up) : ?>
    <div class="sanpham-votes-display"><?php print $unsigned_points; ?></div>
    <?php if ($show_links){ ?>
      <?php if ($show_up_as_link): ?>
        <a href="<?php print $link_up; ?>" rel="nofollow" class="<?php print $link_class_up; ?>">
      <?php endif; ?>
          <div class="<?php print $class_up; ?>">Ủng hộ</div>
      <?php if ($show_up_as_link): ?>
        </a>
      <?php endif; ?>
    <?php } else { ?>
    	<div class="loginuh"><a href="/user/login" title="Đăng nhập để ủng hộ">Đăng nhập</a></div>
    <?php } ?>
  <?php endif; ?>
</div>
